﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using Harmontronics.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.DataAccess.IOperate.Business
{
    public interface IUserRecipeOperate
    {   
        //查询所有
        public List<UserRecipe> GetAllUserRecipeList();
        public List<UserRecipe> GetUserRecipeByRecipeId(string id);
        public List<UserRecipe> GetUserRecipeByRecipeIdList(List<string> ids);
        public UserRecipe GetUserRecipeByIds(string recipeId,string parmaterId);
        public List<UserRecipe> GetUserRecipeByIdList(List<string> recipeIds, List<string> parmaterIds);
        public void AddUserRecipe(UserRecipe entity);
        public void UpdateUserRecipe(UserRecipe model);
        public void DeleteUserRecipe(UserRecipe entity);
        public void BatchDelUserRecipe(List<UserRecipe> entity);
    }
}
